﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title>(｡･∀･)ﾉﾞ次元壁~ @ViewBag.Title</title>

    @*@Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")自从有了node有了npm有了gulp还是放弃后台压缩吧*@
    @*@Styles.Render("~/Content/commoncss")*@

    <link href="~/Content/themes/cwc/css.min/common.css?@ViewBag.version" rel="stylesheet" />
    @RenderSection("styles", required: false)
</head>
<body>
    <div class="cwc-pagewrapper">
        @RenderBody()
    </div>

    @*@Scripts.Render("~/bundles/jquery")*@
    @*@Scripts.Render("~/Content/commonjs")*@
    @*<script src="~/Content/themes/cwc/scripts.build/lib/jquery-1.9.1.min.js"></script>*@

    <script src="~/Content/themes/cwc/scripts.build/lib/require.min.js" @*蛋疼的data-main="@Url.Content("~/Content/themes/cwc/scripts.src/requireconfig.js")"*@></script>
    <script type="text/javascript">
        require.config({
            //baseUrl:"",
            paths: {
                "jqueryv5": "@Url.Content("~/Content/themes/cwc/scripts.build/lib/jquery-1.9.1.min")",
                "iscroll5": "@Url.Content("~/Content/themes/cwc/scripts.build/lib/iscroll")",
                "handlebar4": "@Url.Content("~/Content/themes/cwc/scripts.build/lib/handlebars-v4.0.5")",
                "handlebar4": "@Url.Content("~/Content/themes/cwc/scripts.build/lib/handlebars-v4.0.5")",
                "layer": "@Url.Content("~/Content/themes/cwc/scripts.build/lib/layer")",
                "jqvalidate": "@Url.Content("~/Content/themes/cwc/scripts.build/lib/jquery.validate.min")",
                "text": "@Url.Content("~/Content/themes/cwc/scripts.build/lib/require.text")",
                "commonscripts": "@Url.Content("~/Content/themes/cwc/scripts.build/common_scripts.js")?@ViewBag.version"
            },
            shim: {
                "jqueryv5": {
                    exports: "$"
                },
                "iscroll5": {
                    exports: "IScroll"
                },
                "layer": {
                    exports: "layer"
                },
                "jqvalidate": {
                    deps: ["jqueryv5"]
                },
                "commonscripts": {
                    exports: "common"
                },
                "handlebar4": {
                    exports: "Handlebars"
                }
            }
        });
    </script>
    @RenderSection("scripts", required: false)


</body>
</html>
